package com.mpp.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * @author mapp
 * @des 用户
 * @date 2019/2/13
 */
@TableName("sys_user")
@Data
public class User extends BaseEntity<Integer> {

    private String username;
    private String password;
    private String realname;
    private String locked;
    @TableField(exist = false)
    private List<String> roles;
    @TableField(exist = false)
    private List<String> permissions;
}
